package org.jeecg.modules.consumptionElectricity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 电能能耗
 * @Author: jeecg-boot
 * @Date:   2023-06-20
 * @Version: V1.0
 */
@Data
@TableName("consumption_electricity")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="consumption_electricity对象", description="电能能耗")
public class ConsumptionElectricity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**部门*/
	@Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    private java.lang.String dept;
	/**所属年份*/
	@Excel(name = "所属年份", width = 15)
    @ApiModelProperty(value = "所属年份")
    private java.lang.String year;
	/**所属月份*/
	@Excel(name = "所属月份", width = 15)
    @ApiModelProperty(value = "所属月份")
    private java.lang.String month;
    /**日期*/
    @Excel(name = "日期", width = 15)
    @ApiModelProperty(value = "日期")
    private java.lang.String day;
    /**时刻*/
    @Excel(name = "时刻", width = 15)
    @ApiModelProperty(value = "时刻")
    private java.lang.String hour;
	/**电耗用(kwh)*/
	@Excel(name = "电耗用(kwh)", width = 15)
    @ApiModelProperty(value = "电耗用(kwh)")
    private BigDecimal consumption;
    /**时间*/
    @Excel(name = "时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
    private java.util.Date date;
    /**碳排放*/
    @Excel(name = "碳排放", width = 15)
    @ApiModelProperty(value = "碳排放")
    private BigDecimal carbonEmission;
    /**标煤排放*/
    @Excel(name = "标煤排放", width = 15)
    @ApiModelProperty(value = "标煤排放")
    private BigDecimal coalEmission;
    /**费用*/
    @Excel(name = "费用", width = 15)
    @ApiModelProperty(value = "费用")
    private BigDecimal cost;
    /**产品名称*/
    @Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String product;
    /**生产线名称*/
    @Excel(name = "生产线名称", width = 15)
    @ApiModelProperty(value = "生产线名称")
    private String productionLine;
    /**点位名称*/
    @Excel(name = "点位名称", width = 15)
    @ApiModelProperty(value = "点位名称")
    private String point;
    /**设备名称*/
    @Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String device;
    /**电表编号*/
    @Excel(name = "电表编号", width = 15)
    @ApiModelProperty(value = "电表编号")
    private String energyMeterId;
    /**电表读数*/
    @Excel(name = "电表读数", width = 15)
    @ApiModelProperty(value = "电表读数")
    private BigDecimal totalPower;
    /**A相电压*/
    @Excel(name = "A相电压", width = 15)
    @ApiModelProperty(value = "A相电压")
    private java.lang.String voltageA;
    /**B相电压*/
    @Excel(name = "B相电压", width = 15)
    @ApiModelProperty(value = "B相电压")
    private java.lang.String voltageB;
    /**C相电压*/
    @Excel(name = "C相电压", width = 15)
    @ApiModelProperty(value = "C相电压")
    private java.lang.String voltageC;
    /**AB线电压*/
    @Excel(name = "AB线电压", width = 15)
    @ApiModelProperty(value = "AB线电压")
    private java.lang.String voltageAb;
    /**BC线电压*/
    @Excel(name = "BC线电压", width = 15)
    @ApiModelProperty(value = "BC线电压")
    private java.lang.String voltageBc;
    /**CA线电压*/
    @Excel(name = "CA线电压", width = 15)
    @ApiModelProperty(value = "CA线电压")
    private java.lang.String voltageCa;
    /**A相电流*/
    @Excel(name = "A相电流", width = 15)
    @ApiModelProperty(value = "A相电流")
    private java.lang.String currentA;
    /**B相电流*/
    @Excel(name = "B相电流", width = 15)
    @ApiModelProperty(value = "B相电流")
    private java.lang.String currentB;
    /**C相电流*/
    @Excel(name = "C相电流", width = 15)
    @ApiModelProperty(value = "C相电流")
    private java.lang.String currentC;
    /**A相有功功率*/
    @Excel(name = "A相有功功率", width = 15)
    @ApiModelProperty(value = "A相有功功率")
    private java.lang.String powerA;
    /**B相有功功率*/
    @Excel(name = "B相有功功率", width = 15)
    @ApiModelProperty(value = "B相有功功率")
    private java.lang.String powerB;
    /**C相有功功率*/
    @Excel(name = "C相有功功率", width = 15)
    @ApiModelProperty(value = "C相有功功率")
    private java.lang.String powerC;
    /**总有功功率*/
    @Excel(name = "总有功功率", width = 15)
    @ApiModelProperty(value = "总有功功率")
    private java.lang.String powerTotal;
    /**A相功率因数*/
    @Excel(name = "A相功率因数", width = 15)
    @ApiModelProperty(value = "A相功率因数")
    private java.lang.String factorA;
    /**B相功率因数*/
    @Excel(name = "B相功率因数", width = 15)
    @ApiModelProperty(value = "B相功率因数")
    private java.lang.String factorB;
    /**C相功率因数*/
    @Excel(name = "C相功率因数", width = 15)
    @ApiModelProperty(value = "C相功率因数")
    private java.lang.String factorC;
    /**总功率因数*/
    @Excel(name = "总功率因数", width = 15)
    @ApiModelProperty(value = "总功率因数")
    private java.lang.String factorTotal;
}
